﻿using Entity.FrameEntity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Entity
{
    [CustomAttribute(TableName = "fun_BanYang_list", Description = "版辊样版实体")]
    public class DbBanGun
    {
        private int? _id;
        private string _bybarcode;
        private string _bycode;
        private string _procode;
        private string _banchang;
        private string _banzhou;
        private string _supcode;
        private string _warehouse;
        private string _dtypes;
        private string _createtime;
        private string _createuser;
        private string _money;
        private string _relationerpcode;
        private string _pplan;
        private string _status;
        private int? _isdel;
        private string _basecode;
        /// <summary>
        /// 
        /// </summary>
        public int? id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string byBarCode
        {
            set { _bybarcode = value; }
            get { return _bybarcode; }
        }
        /// <summary>
        /// 版辊/样版号
        /// </summary>
        public string byCode
        {
            set { _bycode = value; }
            get { return _bycode; }
        }

        public string byName { get; set; }

        /// <summary>
        /// 存货编码  绑定的关联存货
        /// </summary>
        public string proCode
        {
            set { _procode = value; }
            get { return _procode; }
        }
        /// <summary>
        /// 样版规格
        /// </summary>
        public string banchang
        {
            set { _banchang = value; }
            get { return _banchang; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string banzhou
        {
            set { _banzhou = value; }
            get { return _banzhou; }
        }
        /// <summary>
        /// 供方编码
        /// </summary>
        public string supCode
        {
            set { _supcode = value; }
            get { return _supcode; }
        }
        /// <summary>
        /// 所属仓库
        /// </summary>
        public string wareHouse
        {
            set { _warehouse = value; }
            get { return _warehouse; }
        }
        /// <summary>
        /// 数据类型(YB 样版 BG 版辊)
        /// </summary>
        public string dTypes
        {
            set { _dtypes = value; }
            get { return _dtypes; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createtime
        {
            set { _createtime = value; }
            get { return _createtime; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string createuser
        {
            set { _createuser = value; }
            get { return _createuser; }
        }
        /// <summary>
        /// 版辊金额
        /// </summary>
        public string money
        {
            set { _money = value; }
            get { return _money; }
        }
        /// <summary>
        /// 对应ERP单据
        /// </summary>
        public string relationErpCode
        {
            set { _relationerpcode = value; }
            get { return _relationerpcode; }
        }
        /// <summary>
        /// 关联生产计划
        /// </summary>
        public string PPlan
        {
            set { _pplan = value; }
            get { return _pplan; }
        }
        /// <summary>
        /// 在库状态
        /// </summary>
        public string status
        {
            set { _status = value; }
            get { return _status; }
        }
        /// <summary>
        /// 
        /// </summary>
        public int? isdel
        {
            set { _isdel = value; }
            get { return _isdel; }
        }
        /// <summary>
        /// 
        /// </summary>
        public string baseCode
        {
            set { _basecode = value; }
            get { return _basecode; }
        }
        /// <summary>
        /// 批次
        /// </summary>
        public string batch { get; set; }


        /// <summary>
        /// 客户名称
        /// </summary>
        public string cuName { get; set; }


        /// <summary>
        /// 期初日期
        /// </summary>
        public string qcDate  { get; set; }

        /// <summary>
        /// 版架号（货位）
        /// </summary>
        public string warePosition { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string memo { get; set; }
        
        //版号对应的U8存货编码
        public string erpProCode { get; set; }

        //是否废版
        public string isfb { get; set; }



    }
}
